package com.itheima.wms.mapper;

import com.github.pagehelper.Page;
import com.itheima.wms.controller.vo.WareHouseAreaLocation;
import com.itheima.wms.pojo.Owner;
import com.itheima.wms.pojo.OwnerPageDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OwnerMapper {

    Page<Owner> ownerPage(OwnerPageDto ownerPageDto);

    void insert(Owner owner);

    List<WareHouseAreaLocation> findChildList(Long warehouseId);

    List<Owner> vagueQueryOwner(OwnerPageDto ownerPageDto);
}
